<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: CAI
  Date: 2019/10/23
  Time: 11:36
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
一共有${countRow}条数据，可以分${pageSize}<br/> 当前在${currentPage}页<br/>

<c:forEach items="${courseList}" var="i">
    ${i.courseId}
    ${i.name}
    ${i.description}<br/>
</c:forEach>
<c:forEach var="i" begin="1" end="${pageSize}">
    <a href="/testServlet?currentPage=${i}">${i}</a>
</c:forEach>
</body>
</html>
